//
//  MainViewController.swift
//  ElectrickService
//
//  Created by David on 2017/6/16.
//  Copyright © 2017年 David. All rights reserved.
//

import Cocoa

class MainViewController: NSViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do view setup here.
    }
    @IBAction func changeBtnClick(_ sender: Any) {
        let changeVC = NSStoryboard(name: "Main", bundle: nil).instantiateController(withIdentifier: "ChangeVC") as? NSViewController
        presentViewControllerAsSheet(changeVC!)
        
//        let changeWindow = NSStoryboard(name: "Main", bundle: nil).instantiateController(withIdentifier: "ChangeWindow") as? NSWindowController
//        
//        
//        presentViewControllerAsSheet(changeWindow!)
    }
    
}
